package com.zpark.it.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Title: Pictrue
 * @Author Charles
 * @Package com.zpark.it.pojo
 * @Date 2023/7/23 10:27
 */
@Data
@TableName("product_picture")
public class Picture implements Serializable {

    public static final Long serialVersionUID =1L;
    @TableId(type = IdType.AUTO)
    @JsonProperty("product_id")
    @TableField("product_id")
    private Integer id;


    @TableField("product_picture")
    @JsonProperty("product_picture")
    private String productPicture;


    private String intro;
}
